package com.gun.management.module.raffle.controller.admin.lottery.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 抽奖信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class LotteryRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14991")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "抽奖名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("抽奖名称")
    private String name;

    @Schema(description = "抽奖类型(对应数据字典raffle_lottery_category)", example = "13660")
    @ExcelProperty("抽奖类型(对应数据字典raffle_lottery_category)")
    private Long categoryId;

    @Schema(description = "每人抽奖总次数")
    @ExcelProperty("每人抽奖总次数")
    private Integer totalTimes;

    @Schema(description = "每人每天抽奖次数")
    @ExcelProperty("每人每天抽奖次数")
    private Integer dayTotalTimes;

    @Schema(description = "最多限制奖品数量，否则不能保存")
    @ExcelProperty("最多限制奖品数量")
    private Integer maxPrizeCount;


    @Schema(description = "单次抽奖消耗积分")
    @ExcelProperty("单次抽奖消耗积分")
    private Integer expenseScore;


    @Schema(description = "抽奖活动背景图片",   example = "http://*****.com/bg.png")
    private String bgPicture;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "活动过期时间",   example = "2024-10-09 15:00:00")
    @ExcelProperty("活动过期时间")
    private LocalDateTime expiredTime;

    @Schema(description = "活动详情",   example = "2024-10-01国庆节深圳市南山区庆典")
    @ExcelProperty("活动详情")
    private String content;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}